package cn.wlbw.model;

import org.nutz.dao.entity.annotation.*;

import java.util.List;

@Table("ok_navs")
public class Navs {
    @Name
    @Prev(els=@EL("uuid(32)"))
    private String id;
    @Column
    private String title;
    @Column
    private String href;
    @Column
    private String fontFamily;
    @Column
    private String icon;
    @Column
    private boolean spread;
    @Column
    private boolean isCheck;
    @Column
    private String pid;
    private List<Navs> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getFontFamily() {
        return fontFamily;
    }

    public void setFontFamily(String fontFamily) {
        this.fontFamily = fontFamily;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isSpread() {
        return spread;
    }

    public void setSpread(boolean spread) {
        this.spread = spread;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public List<Navs> getChildren() {
        return children;
    }

    public void setChildren(List<Navs> children) {
        this.children = children;
    }
}
